Skip to content

Conversation

ravishan16
Copy link

Closes #447

This pull request adds documentation for using EncryptedType with SQLModel. It includes:

  • A new tutorial with a detailed walkthrough.
  • A new page in the "Advanced User Guide" for quick reference.

@github-actions github-actions bot added the docs Improvements or additions to documentation label Sep 25, 2025
Copy link
Contributor

@williambdean
Copy link

I am seeing in the sqlalchemy-utils docs that EncryptionType is deprecating in favor StringEncryptedType. Maybe good to swap out. https://sqlalchemy-utils.readthedocs.io/en/latest/data_types.html#encryptedtype

@YuriiMotov YuriiMotov changed the title feat: Add tutorial and advanced page for EncryptedType 📝 Add tutorial and advanced page for EncryptedType Oct 6, 2025
Copy link
Member

@YuriiMotov YuriiMotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravishan16, thank you for your interest and efforts!

The example is interesting, but I think this should be a section of docs about sa_column property (the code example boils down to just using sa_column to specify SQLAlchemy type for the field).

I also don't think we should add 2 sections about this. I think it should be in Advanced section only.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants